/*
            Author : Nguyen Van Ty
            Email  : ngvanty03@gmail.com
            Date   : 4/7/2011                        
            */

using System;
using System.Collections.Generic;
using System.Text;
namespace BusinessObject
{
    /// <summary>
    /// Define HinhAnhMatHangResult object. This object used to contain data that returned from data layer.
    /// </summary>
    public class HinhAnhMatHangResult
    {
        #region fields
        private int id;
        private string maMatHang;
        private string imageUrl;
        #endregion fields

        #region properties
        /// <summary>
        /// Define Id Property.
        /// </summary>
        public int Id
        {
            get { return this.id; }
            set { this.id = value; }
        }
        /// <summary>
        /// Define MaMatHang Property.
        /// </summary>
        public string MaMatHang
        {
            get { return this.maMatHang; }
            set { this.maMatHang = value; }
        }
        /// <summary>
        /// Define ImageUrl Property.
        /// </summary>
        public string ImageUrl
        {
            get { return this.imageUrl; }
            set { this.imageUrl = value; }
        }
        #endregion properties

        #region constructor
        /// <summary>
        /// Define default constructor for HinhAnhMatHangResultResult Object.
        /// </summary>
        public HinhAnhMatHangResult()
        {
            this.id = int.MinValue;
            this.maMatHang = string.Empty;
            this.imageUrl = string.Empty;
        }
        /// <summary>
        /// Define constructor for HinhAnhMatHangResultResult Object.
        /// </summary>
        public HinhAnhMatHangResult(int id,
                    string maMatHang,
                    string imageUrl)
        {
            this.id = id;
            this.maMatHang = maMatHang;
            this.imageUrl = imageUrl;
        }
        #endregion constructor
    }
}